﻿using LD.Common;

namespace LD.PLC
{
    public class HDParamModel
    {
        public int Id { get; set; }
        public string Name { get; set; }
        /// <summary>
        /// PLC,COM,Socket
        /// </summary>
        public HDType HDType { get; set; }
        public string Model { get; set; }
        public string Address { get; set; }
        public int Port { get; set; }
        public int TimeOut { get; set; }
        public bool Validity { get; set; }
        /// <summary>
        /// 校验位
        /// </summary>
        public string Parity { get; set; }
        /// <summary>
        /// 心跳
        /// </summary>
        public string Heartbeat { get; set; }
    }
}
